package com.example.book.mapper;

import com.example.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-12-10
 * Time: 19:15
 */
@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where" +
            " user_name = #{userName} and delete_flag = 0")
    UserInfo getUserInfoByName(String name);


}
